package cn.gbase.jiangsu.data.transfer.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
* 事件，如用户注册.
*/
@Table("data_event")
public class DataEvent extends BaseDto{
		
	@Id
	@Column	
	private int id;
		
	/**
	 * 事件名称，如用户注册.
	 */
	@Column("event_name")	
	private String eventName;
	
	/**
	 * 动作识别Key，如“送优惠券”.
	 */
	@Column("action_key")	
	private String actionKey;
		
	/**
	 * 动作字符串，如：满50减5,2张,有效期30天.
	 */
	@Column("action_str")	
	private String actionStr;
		
	/**
	 * 是否使用.
	 */
	@Column("isEnable")	
	private int isEnable;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getEventName() {
		return eventName;
	}

	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	public String getActionStr() {
		return actionStr;
	}

	public void setActionStr(String actionStr) {
		this.actionStr = actionStr;
	}

	public int getIsEnable() {
		return isEnable;
	}

	public void setIsEnable(int isEnable) {
		this.isEnable = isEnable;
	}

	public String getActionKey() {
		return actionKey;
	}

	public void setActionKey(String actionKey) {
		this.actionKey = actionKey;
	}
	
	

}